
Power operation.
pow(x, a)
A matrix with the compositional data.
Either a vector with numbers of a single number.
A matrix with the power transformed compositional data.
This is the power operation defined by Aitchison (1986). It is also the starting point of the
Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.
Tsagris M.T., Preston S. and Wood A.T.A. (2011). A data-based power transformation for compositional data. In Proceedings of the 4th Compositional Data Analysis Workshop, Girona, Spain. http://arxiv.org/pdf/1106.1451.pdf
# NOT RUN {
x <- as.matrix(iris[1:15, 1:4])
a <- runif(1)
pow(x, a)
# }
Run the code above in your browser using DataLab